3.22 \(\int \frac{1}{(c \cot (a+b x))^{4/3}} \, dx\)

Optimal. Leaf size=244 \[ \frac{\sqrt{3} \log \left (-\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}+c^{2/3}\right )}{4 b c^{4/3}}-\frac{\sqrt{3} \log \left (\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}+c^{2/3}\right )}{4 b c^{4/3}}+\frac{\tan ^{-1}\left (\frac{\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{4/3}}-\frac{\tan ^{-1}\left (\sqrt{3}-\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{2 b c^{4/3}}+\frac{\tan ^{-1}\left (\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}+\sqrt{3}\right )}{2 b c^{4/3}}+\frac{3}{b c \sqrt [3]{c \cot (a+b x)}} \]

[Out]

ArcTan[(c*Cot[a + b*x])^(1/3)/c^(1/3)]/(b*c^(4/3)) - ArcTan[Sqrt[3] - (2*(c*Cot[a + b*x])^(1/3))/c^(1/3)]/(2*b
*c^(4/3)) + ArcTan[Sqrt[3] + (2*(c*Cot[a + b*x])^(1/3))/c^(1/3)]/(2*b*c^(4/3)) + 3/(b*c*(c*Cot[a + b*x])^(1/3)
) + (Sqrt[3]*Log[c^(2/3) - Sqrt[3]*c^(1/3)*(c*Cot[a + b*x])^(1/3) + (c*Cot[a + b*x])^(2/3)])/(4*b*c^(4/3)) - (
Sqrt[3]*Log[c^(2/3) + Sqrt[3]*c^(1/3)*(c*Cot[a + b*x])^(1/3) + (c*Cot[a + b*x])^(2/3)])/(4*b*c^(4/3))

________________________________________________________________________________________

Rubi [A]  time = 0.424563, antiderivative size = 244, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 9, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.75, Rules used = {3474, 3476, 329, 295, 634, 618, 204, 628, 203} \[ \frac{\sqrt{3} \log \left (-\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}+c^{2/3}\right )}{4 b c^{4/3}}-\frac{\sqrt{3} \log \left (\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}+c^{2/3}\right )}{4 b c^{4/3}}+\frac{\tan ^{-1}\left (\frac{\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{4/3}}-\frac{\tan ^{-1}\left (\sqrt{3}-\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{2 b c^{4/3}}+\frac{\tan ^{-1}\left (\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}+\sqrt{3}\right )}{2 b c^{4/3}}+\frac{3}{b c \sqrt [3]{c \cot (a+b x)}} \]

Antiderivative was successfully verified.

[In]

Int[(c*Cot[a + b*x])^(-4/3),x]

[Out]

ArcTan[(c*Cot[a + b*x])^(1/3)/c^(1/3)]/(b*c^(4/3)) - ArcTan[Sqrt[3] - (2*(c*Cot[a + b*x])^(1/3))/c^(1/3)]/(2*b
*c^(4/3)) + ArcTan[Sqrt[3] + (2*(c*Cot[a + b*x])^(1/3))/c^(1/3)]/(2*b*c^(4/3)) + 3/(b*c*(c*Cot[a + b*x])^(1/3)
) + (Sqrt[3]*Log[c^(2/3) - Sqrt[3]*c^(1/3)*(c*Cot[a + b*x])^(1/3) + (c*Cot[a + b*x])^(2/3)])/(4*b*c^(4/3)) - (
Sqrt[3]*Log[c^(2/3) + Sqrt[3]*c^(1/3)*(c*Cot[a + b*x])^(1/3) + (c*Cot[a + b*x])^(2/3)])/(4*b*c^(4/3))

Rule 3474

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*Tan[c + d*x])^(n + 1)/(b*d*(n + 1)), x] - Dist[
1/b^2, Int[(b*Tan[c + d*x])^(n + 2), x], x] /; FreeQ[{b, c, d}, x] && LtQ[n, -1]

Rule 3476

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[b/d, Subst[Int[x^n/(b^2 + x^2), x], x, b*Tan[c + d
*x]], x] /; FreeQ[{b, c, d, n}, x] &&  !IntegerQ[n]

Rule 329

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + (b*x^(k*n))/c^n)^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 295

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Module[{r = Numerator[Rt[a/b, n]], s = Denominator[Rt[a/
b, n]], k, u}, Simp[u = Int[(r*Cos[((2*k - 1)*m*Pi)/n] - s*Cos[((2*k - 1)*(m + 1)*Pi)/n]*x)/(r^2 - 2*r*s*Cos[(
(2*k - 1)*Pi)/n]*x + s^2*x^2), x] + Int[(r*Cos[((2*k - 1)*m*Pi)/n] + s*Cos[((2*k - 1)*(m + 1)*Pi)/n]*x)/(r^2 +
 2*r*s*Cos[((2*k - 1)*Pi)/n]*x + s^2*x^2), x]; (2*(-1)^(m/2)*r^(m + 2)*Int[1/(r^2 + s^2*x^2), x])/(a*n*s^m) +
Dist[(2*r^(m + 1))/(a*n*s^m), Sum[u, {k, 1, (n - 2)/4}], x], x]] /; FreeQ[{a, b}, x] && IGtQ[(n - 2)/4, 0] &&
IGtQ[m, 0] && LtQ[m, n - 1] && PosQ[a/b]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{1}{(c \cot (a+b x))^{4/3}} \, dx &=\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}-\frac{\int (c \cot (a+b x))^{2/3} \, dx}{c^2}\\ &=\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{\operatorname{Subst}\left (\int \frac{x^{2/3}}{c^2+x^2} \, dx,x,c \cot (a+b x)\right )}{b c}\\ &=\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{3 \operatorname{Subst}\left (\int \frac{x^4}{c^2+x^6} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{b c}\\ &=\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{\operatorname{Subst}\left (\int \frac{-\frac{\sqrt [3]{c}}{2}+\frac{\sqrt{3} x}{2}}{c^{2/3}-\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{b c^{4/3}}+\frac{\operatorname{Subst}\left (\int \frac{-\frac{\sqrt [3]{c}}{2}-\frac{\sqrt{3} x}{2}}{c^{2/3}+\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{b c^{4/3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{c^{2/3}+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{b c}\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{4/3}}+\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{\sqrt{3} \operatorname{Subst}\left (\int \frac{-\sqrt{3} \sqrt [3]{c}+2 x}{c^{2/3}-\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{4 b c^{4/3}}-\frac{\sqrt{3} \operatorname{Subst}\left (\int \frac{\sqrt{3} \sqrt [3]{c}+2 x}{c^{2/3}+\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{4 b c^{4/3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{c^{2/3}-\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{4 b c}+\frac{\operatorname{Subst}\left (\int \frac{1}{c^{2/3}+\sqrt{3} \sqrt [3]{c} x+x^2} \, dx,x,\sqrt [3]{c \cot (a+b x)}\right )}{4 b c}\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{4/3}}+\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{\sqrt{3} \log \left (c^{2/3}-\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{4/3}}-\frac{\sqrt{3} \log \left (c^{2/3}+\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{4/3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{-\frac{1}{3}-x^2} \, dx,x,1-\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt{3} \sqrt [3]{c}}\right )}{2 \sqrt{3} b c^{4/3}}-\frac{\operatorname{Subst}\left (\int \frac{1}{-\frac{1}{3}-x^2} \, dx,x,1+\frac{2 \sqrt [3]{c \cot (a+b x)}}{\sqrt{3} \sqrt [3]{c}}\right )}{2 \sqrt{3} b c^{4/3}}\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{4/3}}-\frac{\tan ^{-1}\left (\frac{1}{3} \left (3 \sqrt{3}-\frac{6 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )\right )}{2 b c^{4/3}}+\frac{\tan ^{-1}\left (\frac{1}{3} \left (3 \sqrt{3}+\frac{6 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )\right )}{2 b c^{4/3}}+\frac{3}{b c \sqrt [3]{c \cot (a+b x)}}+\frac{\sqrt{3} \log \left (c^{2/3}-\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{4/3}}-\frac{\sqrt{3} \log \left (c^{2/3}+\sqrt{3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{4/3}}\\ \end{align*}

Mathematica [C]  time = 0.0569193, size = 38, normalized size = 0.16 \[ \frac{3 \text{Hypergeometric2F1}\left (-\frac{1}{6},1,\frac{5}{6},-\cot ^2(a+b x)\right )}{b c \sqrt [3]{c \cot (a+b x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[(c*Cot[a + b*x])^(-4/3),x]

[Out]

(3*Hypergeometric2F1[-1/6, 1, 5/6, -Cot[a + b*x]^2])/(b*c*(c*Cot[a + b*x])^(1/3))

________________________________________________________________________________________

Maple [A]  time = 0.062, size = 229, normalized size = 0.9 \begin{align*} 3\,{\frac{1}{bc\sqrt [3]{c\cot \left ( bx+a \right ) }}}+{\frac{\sqrt{3}}{4\,b{c}^{3}} \left ({c}^{2} \right ) ^{{\frac{5}{6}}}\ln \left ( \sqrt{3}\sqrt [6]{{c}^{2}}\sqrt [3]{c\cot \left ( bx+a \right ) }- \left ( c\cot \left ( bx+a \right ) \right ) ^{{\frac{2}{3}}}-\sqrt [3]{{c}^{2}} \right ) }+{\frac{1}{2\,bc}\arctan \left ( 2\,{\frac{\sqrt [3]{c\cot \left ( bx+a \right ) }}{\sqrt [6]{{c}^{2}}}}-\sqrt{3} \right ){\frac{1}{\sqrt [6]{{c}^{2}}}}}+{\frac{1}{bc}\arctan \left ({\sqrt [3]{c\cot \left ( bx+a \right ) }{\frac{1}{\sqrt [6]{{c}^{2}}}}} \right ){\frac{1}{\sqrt [6]{{c}^{2}}}}}-{\frac{\sqrt{3}}{4\,b{c}^{3}} \left ({c}^{2} \right ) ^{{\frac{5}{6}}}\ln \left ( \left ( c\cot \left ( bx+a \right ) \right ) ^{{\frac{2}{3}}}+\sqrt{3}\sqrt [6]{{c}^{2}}\sqrt [3]{c\cot \left ( bx+a \right ) }+\sqrt [3]{{c}^{2}} \right ) }+{\frac{1}{2\,bc}\arctan \left ( 2\,{\frac{\sqrt [3]{c\cot \left ( bx+a \right ) }}{\sqrt [6]{{c}^{2}}}}+\sqrt{3} \right ){\frac{1}{\sqrt [6]{{c}^{2}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c*cot(b*x+a))^(4/3),x)

[Out]

3/b/c/(c*cot(b*x+a))^(1/3)+1/4/b/c^3*3^(1/2)*(c^2)^(5/6)*ln(3^(1/2)*(c^2)^(1/6)*(c*cot(b*x+a))^(1/3)-(c*cot(b*
x+a))^(2/3)-(c^2)^(1/3))+1/2/b/c/(c^2)^(1/6)*arctan(2*(c*cot(b*x+a))^(1/3)/(c^2)^(1/6)-3^(1/2))+1/b/c/(c^2)^(1
/6)*arctan((c*cot(b*x+a))^(1/3)/(c^2)^(1/6))-1/4/b/c^3*3^(1/2)*(c^2)^(5/6)*ln((c*cot(b*x+a))^(2/3)+3^(1/2)*(c^
2)^(1/6)*(c*cot(b*x+a))^(1/3)+(c^2)^(1/3))+1/2/b/c/(c^2)^(1/6)*arctan(2*(c*cot(b*x+a))^(1/3)/(c^2)^(1/6)+3^(1/
2))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*cot(b*x+a))^(4/3),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*cot(b*x+a))^(4/3),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (c \cot{\left (a + b x \right )}\right )^{\frac{4}{3}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*cot(b*x+a))**(4/3),x)

[Out]

Integral((c*cot(a + b*x))**(-4/3), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (c \cot \left (b x + a\right )\right )^{\frac{4}{3}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*cot(b*x+a))^(4/3),x, algorithm="giac")

[Out]

integrate((c*cot(b*x + a))^(-4/3), x)